import bb.cascades 1.0

Page {
    Container {
        Label {
            text: "Shuffle questions"
        }
        ToggleButton {
            id: shuffle
            checked: _settings.getShuffle()
            objectName: "shuffle"
            horizontalAlignment: HorizontalAlignment.Center

            onCheckedChanged: {
                _settings.setShuffle(checked)
            }
        }
        Label {
            text: "Repeat wrong"
        }
        ToggleButton {
            id: repeat
            checked: _settings.getRepeat()
            objectName: "repeat"
            horizontalAlignment: HorizontalAlignment.Center

            onCheckedChanged: {
                _settings.setRepeat(checked)
            }
        }
    }
}